<?php
/* 
* [简历管理控制器]
* @author: mazhenyu[houdunwangmzy@163.com]
* @Date:   2014-07-11 20:35:30
* @Last Modified time: 2014-07-13 20:44:51
*/
class ResumeControl extends CommonControl{
	public function index(){
		$resume = k('Resume1')->get_resume();
		$this->assign('resume',$resume);
		$this->display();
	}

	/**
	 * [verify_on 审核通过]
	 * @return [type] [description]
	 */
	public function verify_on(){
		k('Resume1')->change_verify(array('reid'=>Q('get.reid', 0, 'intval')),2);
		$this->success('审核通过');
	}

	/**
	 * [verify_off 取消通过]
	 * @return [type] [description]
	 */
	public function verify_off(){
		k('Resume1')->change_verify(array('reid'=>Q('get.reid', 0, 'intval')),3);
		$this->success('取消成功');
	}


	/**
	 * [del_resume description]
	 * @return [type] [description]
	 */
	public function del_resume(){
		K('ResumeRelation')->del_resume(Q('get.reid', 0, 'intval'));
		$this->success('删除成功');
	}


}

